﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Abble4b
{
    class As
    {
        public int JobNumber { get; set; }
        public string Name { get; set; }
        public string Departments { get; set; }

        public As()
        {

        }

        public As(int JobNumber, string Name, string Departments)
        {
            this.JobNumber = JobNumber;
            this.Name = Name;
            this.Departments = Departments;


        }
        public void a()
        {
            Console.WriteLine("我的工号是{0}，我的姓名是{1}，我的部门是{2}", this.JobNumber, this.Name, this.Departments);
        }
    }
}
